<% include header%>
<div class="container li">
  <% posts.forEach(function (post, index) { %>
  <div class="neirong">
    <img src="../images/<%= post.name %>.jpg" onerror="this.src='../images/touxiang/1.jpg'"/>
    <div style="display: inline-block">
      <p id="fenge">
       <h2 style="margin: 30px 0 50px 120px;">
          <a href="/u/<%= post.name %>/<%= post.time.minute %>/<%= post.title %>"><%= post.title %></a>
       </h2>
      </p>
      <p style="font-size: 18px"><%- post.post %></p>
    </div>
    <div style="background-color: darkgray;" class="fenge">
      <p style=" margin: 0;" class="info">
        发布人：<a style="color: orchid;" href="/geren"><%= post.name %></a>&#x3000;
        日期：<%= post.time.minute %>
      </p>
      <p style=" margin: 0;" class="info">阅读：<%= post.pv %> &#x3000; 评论：<%= post.comments.length %></p>
    </div>
  </div>
  <% }) %>
  <% include chajian/fanhui %>
  <% include paging %>
</div>
<% include footer%>